package com.ssmdemo.mapper;

import com.ssmdemo.pojo.TUsers;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Author 咕唧
 * @Date 2022/5/24 16:48
 * @Version 1.0
 */
public interface TUserMapper {

    @Select("select * from t_users where id=#{id}")
    TUsers findById(Long id);

    void addUser(TUsers tUser);

    void updateUser(TUsers tUser);

    List<TUsers> findAll();
}
